package cn.newtouch.basic.util;

import cn.newtouch.org.domain.Department;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页的参数 总条数和数据
 * @param <T>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> {

    private Integer totals=0;

    private List<T> data=new ArrayList<>();

}
